#ifndef OFXIMAGELISTH
#define OFXIMAGELISTH

#include "ofMain.h"
#include "ofxDirList.h"

class ofxImageList {
public:
		ofxImageList();
		void loadFromDir(string sDir);
		void next();
		void prev();
		bool hasNext();
		void draw(float fX, float fY);
		ofImage getCurrent();
private:
		vector<ofImage>::iterator iter;
		vector<string>files;
		vector<ofImage>images;
		ofxDirList dir_list;
};
#endif